﻿<controls:ChildWindow x:Class="WellDone.ScheduleTemplateEditor"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls" xmlns:my="clr-namespace:WellDone" 
           Width="926" Height="530" 
           Title="Schedule Template Editor" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk">
    <Grid x:Name="LayoutRoot" Margin="2" Width="903" Height="480">
        <Grid.RowDefinitions>
            <RowDefinition Height="480*" />
            <RowDefinition Height="50" />
        </Grid.RowDefinitions>

        <my:ScheduleControl x:Name="sc0" HorizontalAlignment="Left" VerticalAlignment="Top" Width="220" TabIndex="0" Margin="0,3,0,0" />
        <my:ScheduleControl x:Name="sc1" HorizontalAlignment="Left" VerticalAlignment="Top" Width="221" TabIndex="1" Margin="226,3,0,0" />
        <my:ScheduleControl HorizontalAlignment="Left" Margin="453,3,0,0" x:Name="sc2" TabIndex="1" VerticalAlignment="Top" Width="221" />
        <my:ScheduleControl HorizontalAlignment="Left" Margin="680,3,0,0" x:Name="sc3" TabIndex="1" VerticalAlignment="Top" Width="221" />
        <my:ScheduleControl HorizontalAlignment="Left" Margin="112,219,0,0" x:Name="sc4" TabIndex="0" VerticalAlignment="Top" Width="220" />
        <my:ScheduleControl HorizontalAlignment="Left" Margin="338,219,0,0" x:Name="sc5" TabIndex="0" VerticalAlignment="Top" Width="220" />
        <my:ScheduleControl HorizontalAlignment="Left" Margin="564,219,0,0" x:Name="sc6" TabIndex="0" VerticalAlignment="Top" Width="220" />
        <ComboBox x:Name="cmbScheduleTemplateName" HorizontalAlignment="Left" Margin="10,8,0,0" Grid.Row="1" VerticalAlignment="Top" Width="159" SelectionChanged="cmbScheduleTemplateName_SelectionChanged" Height="31"/>
        <Button x:Name="btnAdd" Content="Add" HorizontalAlignment="Left" Margin="184,8,0,0" Grid.Row="1" VerticalAlignment="Top" Width="75" Click="btnAdd_Click"/>
        <Button x:Name="btnDelete" Content="Delete" HorizontalAlignment="Left" Margin="275,8,0,0" Grid.Row="1" VerticalAlignment="Top" Width="75" Click="btnDelete_Click"/>
        <Button x:Name="btnOK" Content="OK" Click="btnOK_Click"  Width="75" HorizontalAlignment="Right" Margin="0,8,79,13" Grid.Row="1" />
        <Button x:Name="btnCancel" Content="Cancel" Click="btnCancel_Click" Width="75" HorizontalAlignment="Right" Margin="0,8,0,13" Grid.Row="1" />
    </Grid>
</controls:ChildWindow>